Developer Documentation

QuickTime 4 API Documentation

Programming With QuickTime VR

| Previous | Chapter Contents | Chapter Top | Next |

Cache Sizes

The cacheSize parameter to the QTVRGetBackBufferSettings and QTVRSetBackBufferPrefs functions specifies the size of the panorama back buffer. You can use these constants to specify a cache size:

enum {
    kQTVRMinimumCache                               = -1,
    kQTVRSuggestedCache                             = 0,
    kQTVRFullCache                                  = 1
};

Constant descriptions

kQTVRMinimumCache
The minimum cache size required to display the specified movie.
kQTVRSuggestedCache
The suggested cache size, a cache large enough to allow full zooming out of the panorama.
kQTVRFullCache
The full cache size (that is, a cache that is large enough to fit the entire panorama in memory). This is the default cache size.

© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |